﻿using MediatR;
using PublicClass;
using S.RBAC.Domain.Model;

namespace S.RBAC.Read.Api.Application.Command.RoleCommand
{
    public class RoleSelectCommand : IRequest<PageInfo<Role>>
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleName { get; set; }

        /// <summary>
        /// 页序号
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 5;
    }
}
